package com.example.egweibo1.mapper;

import com.example.egweibo1.base.response.JsonResult;
import com.example.egweibo1.pojo.entity.User;
import com.example.egweibo1.pojo.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    int insertUser(User user);

    UserVo selectUserByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
